package com.cqs.learning.util;

import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

/**
 * @author lixiaowen
 * @create 2020-02-01
 */
public class TimeUtil {


    public static String curTime(){
        LocalDateTime now = LocalDateTime.now();
        return now.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss.SSS"));
    }
}
